package br.ufpe.cin.imlm2.jbeat.soot.common;

import br.ufpe.cin.imlm2.util.options.Option;
import br.ufpe.cin.imlm2.util.options.Options;

public class JBeatOptions extends Options {

	public static final String STD_LIBRARIES = "analyzeStdLibs";
	public static final String VERBOSE = "verbose";

	public JBeatOptions() {
		super();
		this.options.add(new Option(STD_LIBRARIES, "stdLibs",
				"Tells wheter classes in the Java Standard libraries should be included"
						+ " in the analysis or not.", Boolean.TRUE,
				Boolean.class, null));
		this.options.add(new Option(VERBOSE, "v",
				"Verbose output during analysis.", Boolean.FALSE,
				Boolean.class, null));
	}

	public boolean isRt_libraries() {
		return (Boolean) this.getOption(STD_LIBRARIES).getValue();
	}

	public boolean isVerbose() {
		return (Boolean) this.getOption(VERBOSE).getValue();
	}

}
